Optimal. Leaf size=125 \[ -\frac {d x^{1+m}}{c (b c-a d) (c+d x)}+\frac {b^2 x^{1+m} \, _2F_1\left (1,1+m;2+m;-\frac {b x}{a}\right )}{a (b c-a d)^2 (1+m)}-\frac {d (b c (1-m)+a d m) x^{1+m} \, _2F_1\left (1,1+m;2+m;-\frac {d x}{c}\right )}{c^2 (b c-a d)^2 (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 125, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {105, 162, 66}
\begin {gather*} \frac {b^2 x^{m+1} \, _2F_1\left (1,m+1;m+2;-\frac {b x}{a}\right )}{a (m+1) (b c-a d)^2}-\frac {d x^{m+1} (a d m+b c (1-m)) \, _2F_1\left (1,m+1;m+2;-\frac {d x}{c}\right )}{c^2 (m+1) (b c-a d)^2}-\frac {d x^{m+1}}{c (c+d x) (b c-a d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 66
Rule 105
Rule 162
Rubi steps
\begin {align*} \int \frac {x^m}{(a+b x) (c+d x)^2} \, dx &=-\frac {d x^{1+m}}{c (b c-a d) (c+d x)}-\frac {\int \frac {x^m (-b c-a d m-b d m x)}{(a+b x) (c+d x)} \, dx}{c (b c-a d)}\\ &=-\frac {d x^{1+m}}{c (b c-a d) (c+d x)}+\frac {b^2 \int \frac {x^m}{a+b x} \, dx}{(b c-a d)^2}-\frac {(d (a d m+b (c-c m))) \int \frac {x^m}{c+d x} \, dx}{c (b c-a d)^2}\\ &=-\frac {d x^{1+m}}{c (b c-a d) (c+d x)}+\frac {b^2 x^{1+m} \, _2F_1\left (1,1+m;2+m;-\frac {b x}{a}\right )}{a (b c-a d)^2 (1+m)}-\frac {d (a d m+b (c-c m)) x^{1+m} \, _2F_1\left (1,1+m;2+m;-\frac {d x}{c}\right )}{c^2 (b c-a d)^2 (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.11, size = 113, normalized size = 0.90 \begin {gather*} \frac {x^{1+m} \left (b^2 c^2 (c+d x) \, _2F_1\left (1,1+m;2+m;-\frac {b x}{a}\right )+a d \left (-c (b c-a d) (1+m)+(b c (-1+m)-a d m) (c+d x) \, _2F_1\left (1,1+m;2+m;-\frac {d x}{c}\right )\right )\right )}{a c^2 (b c-a d)^2 (1+m) (c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int \frac {x^{m}}{\left (b x +a \right ) \left (d x +c \right )^{2}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: HeuristicGCDFailed} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^m}{\left (a+b\,x\right )\,{\left (c+d\,x\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________